package com.yunhe.device.domain.device;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.neo4j.ogm.annotation.Property;
import org.springframework.data.neo4j.annotation.QueryResult;

/**
 * 图模设备对象
 * @desc 图模设备对象定义
 * @author liuronglei
 */
@ApiModel(value = "SvgNode", description = "图模设备")
@QueryResult
public class SvgNode {
    @ApiModelProperty(value = "设备类型")
    @Property(name = "type")
    private String type;
    @ApiModelProperty(value = "设备对象")
    @Property(name = "object")
    private Object object;

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

}
